package cn.yto.print.service.handle;

import cn.yto.print.model.request.PrintTaskRequest;
import cn.yto.print.model.response.PrintTaskResponse;

import java.util.concurrent.CompletableFuture;

public interface IPrintPluginProcessor {

    ITextMessageFunction createMessageHandler();

    Object buildPrintRequest(PrintTaskRequest pluginPrintParam);

    CompletableFuture<PrintTaskResponse> processMessage(PrintTaskRequest pluginPrintParam);

}
